<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="./node_modules/vue/dist/vue.js"></script>
    <title>Document</title>
  </head>
  <body>
    <div id="app">{{str}}</div>
    <script>
      const vm = new Vue({
        el: "#app",
        data() {
          return {
            str: "网易小公举"
          };
        }
      });
      // 页面是由js渲染，js是运行在浏览器端，所以称之为客户端渲染
    </script>
  </body>
</html>
